package com.wimcorp.magic.dataloader.dto;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;




public class BehaviourDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	
	private Long id;

	private String behaviour;

	public BehaviourDTO() {

	}

	public BehaviourDTO(String behaviour) {
		this.behaviour = behaviour;
	}

	public String getBehaviour() {
		return behaviour;
	}

	public void setBehaviour(String behaviour) {
		this.behaviour = behaviour;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public boolean equals(Object o) {
		if (!(o instanceof BehaviourDTO)) {
			return false;
		}
		return ((BehaviourDTO) o).getBehaviour().equals(behaviour);
	}

	@Override
	public int hashCode() {
		return behaviour.hashCode();
	}

}
